package com.example.ble_20220504;

import android.bluetooth.BluetoothDevice;

/**
 * 蓝牙设备类
 */
public class BleDevice {
    private String ble_name;//蓝牙名称
    private String ble_address;//蓝牙地址
    private String rssi;//蓝牙信号
    private BluetoothDevice bluetoothDevice;

    public BluetoothDevice getBluetoothDevice() {
        return bluetoothDevice;
    }

    public void setBluetoothDevice(BluetoothDevice bluetoothDevice) {
        this.bluetoothDevice = bluetoothDevice;
    }

    public BleDevice(String ble_name, String ble_address, String rssi) {
        this.ble_name = ble_name;
        this.ble_address = ble_address;
        this.rssi = rssi;
    }

    public BleDevice(String ble_name, String ble_address, String rssi, BluetoothDevice bluetoothDevice) {
        this.ble_name = ble_name;
        this.ble_address = ble_address;
        this.rssi = rssi;
        this.bluetoothDevice = bluetoothDevice;
    }

    public String getBle_name() {
        return ble_name;
    }

    public void setBle_name(String ble_name) {
        this.ble_name = ble_name;
    }

    public String getBle_address() {
        return ble_address;
    }

    public void setBle_address(String ble_address) {
        this.ble_address = ble_address;
    }

    public String getRssi() {
        return rssi;
    }

    public void setRssi(String rssi) {
        this.rssi = rssi;
    }
}
